# _*_ coding: utf-8 _*_
"""
Time:     2022/3/24 22:25
Author:   suhong
Version:  V 0.1
File:     login_page.py
"""
from page.login import LoginPage


class CoolPage(LoginPage):
    def go_to_baidu(self):
        self.basedriver.send_key(self.get_yaml()["输入框"], "张嘉文")
        # time.sleep(2)
        self.basedriver.click(self.get_yaml()["百度一下"])
        return self.basedriver._base_driver.title
